package top.lucky.redishmdp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import top.lucky.redishmdp.dto.LoginFormDTO;
import top.lucky.redishmdp.dto.Result;
import top.lucky.redishmdp.entity.User;

import javax.servlet.http.HttpSession;

/**
 * @author Jane
 * @date 2022/5/24, 10:40
 */
public interface UserService extends IService<User> {

    Result sendSmsCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginForm, HttpSession session);
}
